package com.yonyou.jrmob.application.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Caojing on 2017/10/19.
 */

public class TaskBean {

    /**
     * status : 1
     * msg :
     * data : {"total":"7","data":[{"processDefinitionId":"eiap786222:41:e9922b96-b47a-11e7-af73-00163e08e88c","processInstanceId":"2014d372-b492-11e7-856c-00163e08e88c","activityId":"approveUserTask5994","businessKey":"yg_test10000000l84g","processKey":"eiap786222","taskName":"业务部门主管审批","processDefinitionName":"报价_quote","startTime":"2017-10-19T13:55:35.000+08:00","id":"201a03b7-b492-11e7-856c-00163e08e88c","startParticipantName":"杨立群","processInstanceName":"报价_quote/客户名：杨紫华/总金额：157000.0/报价编码：20171019A0"},{"processDefinitionId":"eiap786222:40:e5976d9d-b0a8-11e7-bede-00163e06e31f","processInstanceId":"9a009562-b3ed-11e7-8a18-00163e08e88c","activityId":"approveUserTask5994","businessKey":"yg_test10000000l81j","processKey":"eiap786222","taskName":"业务部门主管审批","processDefinitionName":"报价_quote","startTime":"2017-10-18T18:17:53.000+08:00","id":"9a0b43e7-b3ed-11e7-8a18-00163e08e88c","startParticipantName":"杨立群","processInstanceName":"报价_quote/客户名：雷旭龙/总金额：20000.0/报价编码：20171018A11"},{"processDefinitionId":"eiap786222:40:e5976d9d-b0a8-11e7-bede-00163e06e31f","processInstanceId":"6bed595c-b3ec-11e7-8a18-00163e08e88c","activityId":"approveUserTask5994","businessKey":"yg_test10000000jm0p","processKey":"eiap786222","taskName":"业务部门主管审批","processDefinitionName":"报价_quote","startTime":"2017-10-18T18:09:26.000+08:00","id":"6bf2d6c1-b3ec-11e7-8a18-00163e08e88c","startParticipantName":"杨立群","processInstanceName":"报价_quote/客户名：/总金额：4.0/报价编码：20171016A0"},{"processDefinitionId":"eiap786222:40:e5976d9d-b0a8-11e7-bede-00163e06e31f","processInstanceId":"b9dcbb06-b3e6-11e7-8a18-00163e08e88c","activityId":"approveUserTask5994","businessKey":"yg_test10000000l7yt","processKey":"eiap786222","taskName":"业务部门主管审批","processDefinitionName":"报价_quote","startTime":"2017-10-18T17:28:40.000+08:00","id":"b9f5734b-b3e6-11e7-8a18-00163e08e88c","startParticipantName":"杨立群","processInstanceName":"报价_quote/客户名：测试儿/总金额：5000.0/报价编码：20171018A10"},{"processDefinitionId":"eiap786222:40:e5976d9d-b0a8-11e7-bede-00163e06e31f","processInstanceId":"1fc0f213-b247-11e7-9b54-00163e06e31f","activityId":"approveUserTask5994","businessKey":"yg_test10000000jpvl","processKey":"eiap786222","taskName":"业务部门主管审批","processDefinitionName":"报价_quote","startTime":"2017-10-16T15:53:40.000+08:00","id":"1fc6e5a8-b247-11e7-9b54-00163e06e31f","startParticipantName":"杨立群","processInstanceName":"报价_quote/客户名：张二飞/总金额：50000.0/报价编码：20171016A5"},{"processDefinitionId":"eiap786222:40:e5976d9d-b0a8-11e7-bede-00163e06e31f","processInstanceId":"a82ed1db-b239-11e7-9b54-00163e06e31f","activityId":"approveUserTask5994","businessKey":"yg_test10000000jmds","processKey":"eiap786222","taskName":"业务部门主管审批","processDefinitionName":"报价_quote","startTime":"2017-10-16T14:17:16.000+08:00","id":"a8378490-b239-11e7-9b54-00163e06e31f","startParticipantName":"杨立群","processInstanceName":"报价_quote/客户名：呵呵哒/总金额：36.0/报价编码：20171016A4"},{"processDefinitionId":"process_468161e1a3:1:124cc396-87aa-11e7-ad36-286ed488c6e9","processInstanceId":"204a4e97-87aa-11e7-ad36-286ed488c6e9","activityId":"approveUserTask_i3v5fcj6c","businessKey":"null","processKey":"process_468161e1a3","taskName":"2","processDefinitionName":"测试部门负责人","startTime":"2017-08-22T22:24:20.000+08:00","id":"2bb3c052-87aa-11e7-ad36-286ed488c6e9","startParticipantName":"admin","processInstanceName":"测试部门负责人"}]}
     */

    private int status;
    private String msg;
    private DataBeanX data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public static class DataBeanX {
        /**
         * total : 7
         * data : [{"processDefinitionId":"eiap786222:41:e9922b96-b47a-11e7-af73-00163e08e88c","processInstanceId":"2014d372-b492-11e7-856c-00163e08e88c","activityId":"approveUserTask5994","businessKey":"yg_test10000000l84g","processKey":"eiap786222","taskName":"业务部门主管审批","processDefinitionName":"报价_quote","startTime":"2017-10-19T13:55:35.000+08:00","id":"201a03b7-b492-11e7-856c-00163e08e88c","startParticipantName":"杨立群","processInstanceName":"报价_quote/客户名：杨紫华/总金额：157000.0/报价编码：20171019A0"},{"processDefinitionId":"eiap786222:40:e5976d9d-b0a8-11e7-bede-00163e06e31f","processInstanceId":"9a009562-b3ed-11e7-8a18-00163e08e88c","activityId":"approveUserTask5994","businessKey":"yg_test10000000l81j","processKey":"eiap786222","taskName":"业务部门主管审批","processDefinitionName":"报价_quote","startTime":"2017-10-18T18:17:53.000+08:00","id":"9a0b43e7-b3ed-11e7-8a18-00163e08e88c","startParticipantName":"杨立群","processInstanceName":"报价_quote/客户名：雷旭龙/总金额：20000.0/报价编码：20171018A11"},{"processDefinitionId":"eiap786222:40:e5976d9d-b0a8-11e7-bede-00163e06e31f","processInstanceId":"6bed595c-b3ec-11e7-8a18-00163e08e88c","activityId":"approveUserTask5994","businessKey":"yg_test10000000jm0p","processKey":"eiap786222","taskName":"业务部门主管审批","processDefinitionName":"报价_quote","startTime":"2017-10-18T18:09:26.000+08:00","id":"6bf2d6c1-b3ec-11e7-8a18-00163e08e88c","startParticipantName":"杨立群","processInstanceName":"报价_quote/客户名：/总金额：4.0/报价编码：20171016A0"},{"processDefinitionId":"eiap786222:40:e5976d9d-b0a8-11e7-bede-00163e06e31f","processInstanceId":"b9dcbb06-b3e6-11e7-8a18-00163e08e88c","activityId":"approveUserTask5994","businessKey":"yg_test10000000l7yt","processKey":"eiap786222","taskName":"业务部门主管审批","processDefinitionName":"报价_quote","startTime":"2017-10-18T17:28:40.000+08:00","id":"b9f5734b-b3e6-11e7-8a18-00163e08e88c","startParticipantName":"杨立群","processInstanceName":"报价_quote/客户名：测试儿/总金额：5000.0/报价编码：20171018A10"},{"processDefinitionId":"eiap786222:40:e5976d9d-b0a8-11e7-bede-00163e06e31f","processInstanceId":"1fc0f213-b247-11e7-9b54-00163e06e31f","activityId":"approveUserTask5994","businessKey":"yg_test10000000jpvl","processKey":"eiap786222","taskName":"业务部门主管审批","processDefinitionName":"报价_quote","startTime":"2017-10-16T15:53:40.000+08:00","id":"1fc6e5a8-b247-11e7-9b54-00163e06e31f","startParticipantName":"杨立群","processInstanceName":"报价_quote/客户名：张二飞/总金额：50000.0/报价编码：20171016A5"},{"processDefinitionId":"eiap786222:40:e5976d9d-b0a8-11e7-bede-00163e06e31f","processInstanceId":"a82ed1db-b239-11e7-9b54-00163e06e31f","activityId":"approveUserTask5994","businessKey":"yg_test10000000jmds","processKey":"eiap786222","taskName":"业务部门主管审批","processDefinitionName":"报价_quote","startTime":"2017-10-16T14:17:16.000+08:00","id":"a8378490-b239-11e7-9b54-00163e06e31f","startParticipantName":"杨立群","processInstanceName":"报价_quote/客户名：呵呵哒/总金额：36.0/报价编码：20171016A4"},{"processDefinitionId":"process_468161e1a3:1:124cc396-87aa-11e7-ad36-286ed488c6e9","processInstanceId":"204a4e97-87aa-11e7-ad36-286ed488c6e9","activityId":"approveUserTask_i3v5fcj6c","businessKey":"null","processKey":"process_468161e1a3","taskName":"2","processDefinitionName":"测试部门负责人","startTime":"2017-08-22T22:24:20.000+08:00","id":"2bb3c052-87aa-11e7-ad36-286ed488c6e9","startParticipantName":"admin","processInstanceName":"测试部门负责人"}]
         */

        private String total;
        private List<DataBean> data;

        public String getTotal() {
            return total;
        }

        public void setTotal(String total) {
            this.total = total;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean implements Serializable{
            /**
             * processDefinitionId : eiap786222:41:e9922b96-b47a-11e7-af73-00163e08e88c
             * processInstanceId : 2014d372-b492-11e7-856c-00163e08e88c
             * activityId : approveUserTask5994
             * businessKey : yg_test10000000l84g
             * processKey : eiap786222
             * taskName : 业务部门主管审批
             * processDefinitionName : 报价_quote
             * startTime : 2017-10-19T13:55:35.000+08:00
             * id : 201a03b7-b492-11e7-856c-00163e08e88c
             * startParticipantName : 杨立群
             * processInstanceName : 报价_quote/客户名：杨紫华/总金额：157000.0/报价编码：20171019A0
             */

            private String processDefinitionId;
            private String processInstanceId;
            private String activityId;
            private String businessKey;
            private String processKey;
            private String taskName;
            private String processDefinitionName;
            private String startTime;
            private String id;
            private String startParticipantName;
            private String processInstanceName;

            public String getProcessDefinitionId() {
                return processDefinitionId;
            }

            public void setProcessDefinitionId(String processDefinitionId) {
                this.processDefinitionId = processDefinitionId;
            }

            public String getProcessInstanceId() {
                return processInstanceId;
            }

            public void setProcessInstanceId(String processInstanceId) {
                this.processInstanceId = processInstanceId;
            }

            public String getActivityId() {
                return activityId;
            }

            public void setActivityId(String activityId) {
                this.activityId = activityId;
            }

            public String getBusinessKey() {
                return businessKey;
            }

            public void setBusinessKey(String businessKey) {
                this.businessKey = businessKey;
            }

            public String getProcessKey() {
                return processKey;
            }

            public void setProcessKey(String processKey) {
                this.processKey = processKey;
            }

            public String getTaskName() {
                return taskName;
            }

            public void setTaskName(String taskName) {
                this.taskName = taskName;
            }

            public String getProcessDefinitionName() {
                return processDefinitionName;
            }

            public void setProcessDefinitionName(String processDefinitionName) {
                this.processDefinitionName = processDefinitionName;
            }

            public String getStartTime() {
                return startTime;
            }

            public void setStartTime(String startTime) {
                this.startTime = startTime;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getStartParticipantName() {
                return startParticipantName;
            }

            public void setStartParticipantName(String startParticipantName) {
                this.startParticipantName = startParticipantName;
            }

            public String getProcessInstanceName() {
                return processInstanceName;
            }

            public void setProcessInstanceName(String processInstanceName) {
                this.processInstanceName = processInstanceName;
            }
        }
    }
}
